Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set language(s) used in the resource #108

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

fostermh
Copy link
Member

this is a mandatory field in our schema which we currently do not populate in the xml

…field in our schema which we currently do not populate in the xml
<lan:PT_Locale>
{# language: mandatory #}
<lan:language>
<lan:LanguageCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/lan/LanguageCode.xml" codeListValue="{{- resource_lang_code -}}">
Copy link
Member

@n-a-t-e n-a-t-e Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if resource_lang_code is required, would be good to add to the if statement above. But maybe its not required for validity.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, It's a valid iso record without it. The CIOOS standard requires it however. I will include a check and not generate the xml snippet if false

@fostermh
Copy link
Member Author

on hold, wait to see if we really need this.

@fostermh fostermh marked this pull request as draft April 25, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants